//
//  NSString+SortNameUtils.h
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/8/19.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (SortNameUtils)

/**
 * string 取出首字声母
 */
- (NSString *)groupByFirstCharOfString;
+ (void) groupAndGetSectionTitles:(NSArray *)lists
                          objName:(NSString *(^)(id obj))objName
                       complement:(void (^)(NSArray<NSString *> *sectionTitles, NSArray<NSArray *> *groupLists))complement;
+ (void) groupAndGetSectionTitles:(NSArray *)lists complement:(void (^)(NSArray<NSString *> *sectionTitles, NSArray<NSArray *> *groupLists))complement;
- (NSString *)md5String;


@end
